<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]>      <html class="no-js"> <![endif]-->
  <head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<title>{% block title %}{% endblock %}</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width">
	{% block css_override %}
	<link href="{{ STATIC_URL }}css/main.css" rel="stylesheet" media="screen">
	<link href="{{ STATIC_URL }}css/django-widget.css" rel="stylesheet" media="screen">
	<link href="{{ STATIC_URL }}bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
	<link href="{{ STATIC_URL }}bootstrap/css/datepicker.css" rel="stylesheet" media="screen">
	<link href="{{ STATIC_URL }}bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
	{% endblock %}
	{% block css_extend %}
	{% endblock %}
  </head>
  <body>
    <!--[if lt IE 7]>
      <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
    <![endif]-->
	<div class="container">
      {% block navbar %}
      {% endblock %}

      {% comment %}
      <!--
      Takes any django message instances in the http response and
      displays them with appropriate styling.
      -->
	  {% endcomment %}

      {% for message in messages %}
      <div class="alert {% if message.tags %}{{ message.tags }}{% endif %}">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        <strong>{{ message }}!</strong> 
      </div>
      {% endfor %}

      {% block body %}
      {% endblock %}
    </div>
	{% block javascript_override %}
    <script src="{{ STATIC_URL }}jquery/jquery-1.8.3.min.js"></script>
    <script src="{{ STATIC_URL }}js/plugins.js"></script>
    <script src="{{ STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
    <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-datepicker.js"></script>
	{% endblock %}
	{% block javascript_extend %}
	{% endblock %}
    </body>
</html>
